package cn.wolfcode.crm.service;

import cn.wolfcode.crm.domain.Role;
import cn.wolfcode.crm.qo.QueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface IRoleService {
	void insert(Role role, Long[] permissionIds);
	void delete(Long id);
	void update(Role role, Long[] permissionIds);
	Role select(Long id);
	List<Role> list();

	PageInfo<Role> query(QueryObject qo);

    List<String> selectRoleSnByEmployeeId(Long employeeId);
}
